<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset="utf-8">
<title>现网新增用户</title>
<@fm.header />
<script>
function doSearch(){    
    $('#tt').datagrid('load', { 
    	carrier: $('#carrier').combobox('getValue'),
        province: $('#province').combobox('getValue'),
        startTime: $('#startTime').datebox('getValue'),
        endTime: $('#endTime').datebox('getValue')
    });
}
</script>
</head>
<body class="cmp-list-body">
<div id="tb" style="padding:3px">
	<span>运营商:</span>
	<select class="easyui-combobox" id="carrier" panelHeight="auto" style="width:155px" >
        <option value="" selected>全部</option>
        <option value="0">电信</option>
    	<option value="1">联通</option>
    	<option value="2">移动</option>
    </select>
    
    <span>省份:</span>
	<select class="easyui-combobox" id="province" panelHeight="auto" style="width:155px" >
	 	<option value="" >全部</option>
        <option value="0" >北京</option>
    	<option value="1" >天津</option>
    	<option value="2" >上海</option>
    	<option value="3" >重庆</option>
    	<option value="4" >黑龙江</option>
    	<option value="5" >吉林</option>
    	<option value="6" >辽宁</option>
    	<option value="7" >内蒙古</option>
    	<option value="8" >宁夏</option>
    	<option value="9" >甘肃</option>
    	<option value="10">新疆</option>
    	<option value="11" >陕西</option>
    	<option value="12" >山西</option>
    	<option value="13" >山东</option>
    	<option value="14" >河北</option>
    	<option value="15" >河南</option>
    	<option value="16" >西藏</option>
    	<option value="17" >云南</option>
    	<option value="18" >四川</option>
    	<option value="19" >贵州</option>
    	<option value="20" >广西</option>
    	<option value="21" >广东</option>
    	<option value="22" >福建</option>
    	<option value="23" >湖南</option>
    	<option value="24" >湖北</option>
    	<option value="25" >江西</option>
    	<option value="26" >浙江</option>
    	<option value="27" >江苏</option>
    	<option value="28" >安徽</option>
    	<option value="29" >青海</option>
    	<option value="30" >海南</option>
    </select>

    <span>时间:</span>
    <input type="text" class="easyui-datebox" id="startTime" />至
    <input type="text" class="easyui-datebox" id="endTime" />
    
    <a href="#" class="easyui-linkbutton" iconCls="icon-search" plain="true" onclick="doSearch();">查询</a> 
</div>
<table id="tt" class="easyui-datagrid" title="现网新增用户列表" iconCls="icon-save" 
	url="/user/incr/listJson" toolbar="#tb" rownumbers="true" idField="id"
	singleSelect="true" pagination="true" fitColumns="true" pageSize="15" pageList="[15,30,60,80,100]"> 
    <thead>
        <tr>
        	<th align="center" width="50%" field="rd">日期</th>
        	<th align="center" width="50%" field="num">新增量</th>
        </tr>
    </thead>   
</table>
</body>
</html>